package com.appwoo.txtws.service;

import android.content.Context;
import com.appwoo.txtws.bean.LeaveBean;
import com.appwoo.txtws.component.DBHelper;
import java.util.ArrayList;

public class RQLeaves
{
  private Context context;

  public RQLeaves(Context paramContext)
  {
    this.context = paramContext;
  }

  public boolean isInLeave()
  {
    int i = new DBHelper(this.context).getLeaveCount();
    boolean bool = false;
    if (i > 0)
      bool = true;
    return bool;
  }

  public void rqLeaves(ArrayList<LeaveBean> paramArrayList)
  {
    if (paramArrayList.size() > 0)
      new DBHelper(this.context).updateLeaves(paramArrayList);
  }
}

/* Location:           C:\Documents and Settings\Administrator\classes_dex2jar.jar
 * Qualified Name:     com.appwoo.txtws.service.RQLeaves
 * JD-Core Version:    0.6.2
 */